package com.youhome.business.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;


/**
 * Created by chen365 on 2019/02/25.
 */
@Data
@ApiModel
public class DTOCounselorCreate {

    @ApiModelProperty(value = "手机",required = true)
    @NotBlank(message = "手机不能为空")
    private String phone;

    @ApiModelProperty(value = "姓名" ,required = true)
    @NotBlank(message = "姓名不能为空")
    private String name;

    @ApiModelProperty(value = "性别,0:女，1：男",required = true)
    private Integer sex;

    @ApiModelProperty(value = "邮箱",required = true)
    @Email(message = "邮箱不正确")
    private String email;

    @ApiModelProperty(value = "工号")
    private String jobNumber;

    @ApiModelProperty(value = "微信")
    private String weixin;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty(value = "名片图片")
    private String businessCard;

    @ApiModelProperty(value = "所负责地区")
    private String responsiblePlace;

    @ApiModelProperty(value = "头像")
    private String photo;
}
